Delete Module via dxl

Does exist a possibility to delete with dxl modules?

Thanks in advance
VBdo - Tue Feb 01 09:18:57 EST 2011

Re: Delete Module via dxl
llandale - Tue Feb 01 15:32:18 EST 2011

There are softDelete(module NameMod) "delete" and hardDelete(module NameMod) "purge", but both only work on undeleted modules. To purge a module, you need to undelete it then hardDelete it. Use canDelete(module NameMod) to see if you have rights, and I don't recall if you should trap errors with noError();hardDelete;lastError.

  • Louie

Re: Delete Module via dxl
VBdo - Wed Feb 02 08:24:22 EST 2011

llandale - Tue Feb 01 15:32:18 EST 2011
There are softDelete(module NameMod) "delete" and hardDelete(module NameMod) "purge", but both only work on undeleted modules. To purge a module, you need to undelete it then hardDelete it. Use canDelete(module NameMod) to see if you have rights, and I don't recall if you should trap errors with noError();hardDelete;lastError.

  • Louie

Thank you Louie